package com.foreknow.dao;

import com.foreknow.entity.Herbaldetailed;
import com.foreknow.entity.HerbaldetailedExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HerbaldetailedMapper {
    int countByExample(HerbaldetailedExample example);

    int deleteByExample(HerbaldetailedExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Herbaldetailed record);

    int insertSelective(Herbaldetailed record);

    List<Herbaldetailed> selectByExample(HerbaldetailedExample example);

    Herbaldetailed selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Herbaldetailed record, @Param("example") HerbaldetailedExample example);

    int updateByExample(@Param("record") Herbaldetailed record, @Param("example") HerbaldetailedExample example);

    int updateByPrimaryKeySelective(Herbaldetailed record);

    int updateByPrimaryKey(Herbaldetailed record);
}